repo/commit: Dedup content writing API implementation
authorColin Walters <walters@verbum.org>
Tue, 23 May 2017 18:58:03 +0000 (14:58 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 1 Jun 2017 18:43:38 +0000 (18:43 +0000)
commitd2a92df1552c979a562ce6c7a69a9fe0da08e55c
tree770ca5142f51569d307a6002473f16bc74df4517
parent22b1234f52895f31b59f6b8b31659b7ee7879eed
repo/commit: Dedup content writing API implementation

Similar to metadata, for `write_content_trusted()` we can just
call `_write_content()` with a `NULL` output checksum.

Closes: #881
Approved by: jlebon
src/libostree/ostree-repo-commit.c